package org.springblade.modules.digitalization.wrapper;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@JacksonXmlRootElement(localName = "数字档案")
public class UserDaRs {

	@JacksonXmlProperty(localName = "人员基本信息")
	private UserInfoRs userInfo;

	@JacksonXmlProperty(localName = "档案目录条目")
	@JacksonXmlElementWrapper(localName = "目录信息")
	private List<UserMenuRs> menus =new ArrayList<>();
}
